<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>公司信息 - 易安网</title>
		<%@ include file="/user_comm.jsp"%>
	</head>
	<body>
		<%@ include file="/user_top.jsp"%>
		<div class="realCer">
			<link rel="stylesheet"
				href="<%=request.getContextPath()%>/css/cfb_color.css"
				type="text/css" />
			<div class="realMain clearfix mt10 zffs wdzh">
				<%@ include file="/user_menu.jsp"%>
				<div class="realRight ml10 l_bar">
					<div class="mybox">
						<div class="mytit">
							<span class="fl">企业信息展示</span>
						</div>
						<div class="con">
							<s:if test='companyInfo2 == null && "zh_CN"==getLangStr()'>
								<div class="l-myzbj-tips fc6 mb10" style="padding: 3px 10px;">
									<span class="l-cBlack">温馨提示：</span>为更好地向客户的向客户展示您企业，建议您
									<a href="<s:url action="companyInfo_editPage2"></s:url>">添加企业英文信息。</a>
								</div>
							</s:if>

							<s:if test="companyInfo2 != null">
								<div class="sub_top" id="l-myzbj-top2">
									<s:if test='#request.tabIndex=="2"'>
										<a
											href="<%=request.getContextPath()%>/companyInfo_view.do?t=1"
											class="at_tab_i ">企业中文信息</a>
										<span class="at_tab_i">企业英文信息</span>
									</s:if>
									<s:else>
										<span class="at_tab_i">企业中文信息</span>
										<a
											href="<%=request.getContextPath()%>/companyInfo_view.do?t=2"
											class="at_tab_i ">企业英文信息</a>
									</s:else>
								</div>
							</s:if>

							<div class="clear"></div>
							<%@ include file="/messages.jsp"%>
							<!-- 中文企业信息 -->
							<s:if test='#request.tabIndex=="1"'>
								<div id="div_Info1" style="display: block">
									<div>
										<h2>
											<span class="l"></span>企业信息
											<span class="r"></span>
										</h2>
										<table>
											<tr>
												<td class="label">
													企业代码：
												</td>
												<td>
													${companyInfo.companyId }
												</td>
											</tr>
											<tr>
												<td class="label">
													企业名称：
												</td>
												<td>
													${companyInfo.companyName }
												</td>
											</tr>
											<tr>
												<td class="label">
													国&nbsp;&nbsp;家：
												</td>
												<td>
													${companyInfo.country }
												</td>
											</tr>
											<tr>
												<td class="label">
													联系人：
												</td>
												<td>
													${companyInfo.contact }
												</td>
											</tr>
											<tr>
												<td class="label">
													联系电话：
												</td>
												<td>
													${companyInfo.telNumber }
												</td>
											</tr>
											<tr>
												<td class="label">
													联系地址：
												</td>
												<td>
													${companyInfo.address }
												</td>
											</tr>
											<tr>
												<td class="label">
													邮政编码：
												</td>
												<td>
													${companyInfo.postcode }
												</td>
											</tr>
											<tr>
												<td class="label">
													网站首页：
												</td>
												<td>
													<a href="${companyInfo.webSite }" target="_blank">${companyInfo.webSite
														} </a>
												</td>
											</tr>


											<tr>
												<td class="label">
													公司简介：
												</td>
												<td>
													<div class="pc-about-me mt15">
														${companyInfo.introduction }
													</div>
												</td>
											</tr>
											<s:if test="1==#request.currentUser.userRole">
												<tr>
													<td class="label">
														信息维护：
													</td>
													<td>
														<ul>
															<li>
																<a href="<s:url action="companyInfo_editPage"></s:url>">
																	维护公司信息</a>
															</li>
														</ul>
													</td>
												</tr>
											</s:if>
										</table>
									</div>
									<!--等级信息-->
									<div>
										<h2>
											<span class="l"></span>公司账户信息
											<span class="r"></span>
										</h2>
										<table>
											<tr>
												<td class="label">
													可用积分：
												</td>
												<td>
													<span class="money_color">${companyInfo.score }</span>
												</td>
											</tr>
											<tr>
												<td class="label">
													企业级员：
												</td>
												<td>
													<!-- ${companyInfo.level }  -->
													白金会员
												</td>
											</tr>
										</table>
									</div>
								</div>
							</s:if>
							<!-- 中文企业信息End -->

							<!-- 英文企业信息Start -->
							<s:if test='#request.tabIndex=="2"'>
								<div id="div_Info2" style="display: block">
									<div>
										<h2>
											<span class="l"></span>Company Information
											<span class="r"></span>
										</h2>
										<table>
											<tr>
												<td class="label">
													Company Code：
												</td>
												<td>
													${companyInfo2.companyId }
												</td>
											</tr>
											<tr>
												<td class="label">
													CompanyName：
												</td>
												<td>
													${companyInfo2.companyName }
												</td>
											</tr>
											<tr>
												<td class="label">
													Country：
												</td>
												<td>
													${companyInfo.country }
												</td>
											</tr>
											<tr>
												<td class="label">
													Contact：
												</td>
												<td>
													${companyInfo2.contact }
												</td>
											</tr>
											<tr>
												<td class="label">
													Telphone：
												</td>
												<td>
													${companyInfo2.telNumber }
												</td>
											</tr>
											<tr>
												<td class="label">
													Address：
												</td>
												<td>
													${companyInfo2.address }
												</td>
											</tr>
											<tr>
												<td class="label">
													Code：
												</td>
												<td>
													${companyInfo2.postcode }
												</td>
											</tr>
											<tr>
												<td class="label">
													WebSite：
												</td>
												<td>
													<a href="${companyInfo2.webSite }" target="_blank">${companyInfo2.webSite
														} </a>
												</td>
											</tr>


											<tr>
												<td class="label">
													Detail：
												</td>
												<td>
													<div class="pc-about-me mt15">
														${companyInfo2.introduction }
													</div>
												</td>
											</tr>
											<s:if test="1==#request.currentUser.userRole">
												<tr>
													<td class="label">
														信息维护：
													</td>
													<td>
														<ul>
															<li>
																<a href="<s:url action="companyInfo_editPage2"></s:url>">
																	修改公司信息</a>
															</li>
														</ul>
													</td>
												</tr>
											</s:if>
										</table>
									</div>
									<!-- 英文等级信息 -->
									<!-- 
							<div>
								<h2>
									<span class="l"></span>Score Information
									<span class="r"></span>
								</h2>
								<table>
									<tr>
										<td class="label">
											Score：
										</td>
										<td>
											<span class="money_color">${companyInfo.score }</span>
										</td>
									</tr>
									<tr>
										<td class="label">
											Company Level：
										</td>
										<td>
											白金会员
										</td>
									</tr>
								</table>
							</div>
							 -->
								</div>
							</s:if>
						</div>
						<!-- 英文企业信息End -->
					</div>
				</div>
			</div>
		</div>
		<script>
// tab 切换，不能删除
$("#l-myzbj-top2").find(".at_tab_i").mouseover(function(){$("#l-myzbj-top2").find(".at_tab_i").removeClass("at_currentprev");$(this).prev("a").addClass("at_currentprev")});
new at_select("at_select");
var tb = new at_tab("pCenter");
setTimeout(function(){
 
new at_scroll('buyer_ad','y');
},1000);


new at_tab("l-myzbj-top");
new at_tab("l-myzbj-top2");
</script>
		<%@ include file="/user_button.jsp"%>
	</body>
</html>
